package com.fairisanddog.mapper;



import com.fairisanddog.entity.Cart;
import org.apache.ibatis.annotations.Param;

import java.util.Calendar;
import java.util.List;

public interface CartMapper {
    int addShop(@Param("cart") Cart cart);

    int deleteShopById(String cid);

    int alterShop(@Param("cart") Cart cart);

    Cart queryShopById(String cid);

    Cart queryShopByCidAndUid(@Param("cid") String cid,@Param("uid") String uid);

    List<Cart> queryAllShops();

}
